package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_worldcup_recruit", autoSave = true)
public class LogWorldCupRecruit {

    @FieldTypeAnnotation
    private long userId;
    @FieldTypeAnnotation
    private int activityId;
    @FieldTypeAnnotation(desc = "单抽1,十连2")
    private int type;
    @FieldTypeAnnotation(desc = "球员品质")
    private int quality;
    @FieldTypeAnnotation(desc = "球员技巧值")
    private int skill;
    @FieldTypeAnnotation(desc = "球员招募奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "球员所在训练场id")
    private int placeId;
    @FieldTypeAnnotation(desc = "球员所在训练场等级")
    private int placeLevel;
    @FieldTypeAnnotation
    private Date time;

    public LogWorldCupRecruit(long userId, int activityId, int type, int quality, int skill, String reward, int placeId, int placeLevel) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.quality = quality;
        this.skill = skill;
        this.reward = reward;
        this.placeId = placeId;
        this.placeLevel = placeLevel;
        this.time = new Date();
    }

    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public int getType() {
        return type;
    }

    public int getQuality() {
        return quality;
    }

    public int getSkill() {
        return skill;
    }

    public String getReward() {
        return reward;
    }

    public int getPlaceId() {
        return placeId;
    }

    public int getPlaceLevel() {
        return placeLevel;
    }

    public Date getTime() {
        return time;
    }
}
